package io.renren.dao;

import io.renren.common.dao.BaseDao;
import io.renren.common.entity.XlsCartEntity;
import io.renren.common.entity.XlsCommodityEntity;
import io.renren.dto.XlsCommodityDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 商品表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2020-04-09
 */
@Mapper
public interface XlsCommodityDao extends BaseDao<XlsCommodityEntity> {

    List<Map<String, Object>> getCommodityInfo();

    Map<String,Object> getCommodityDeatil(XlsCommodityEntity xlsCommodityEntity);

    Map<String, Object> selectByCommodityId(Long goodsId);
}